package com.onesports.intelligent.k12.polarlight.enums;

import com.baomidou.mybatisplus.annotation.IEnum;
import com.fasterxml.jackson.annotation.JsonValue;

/**
 * 教练类型枚举
 * @author Wsy
 **/
public enum CoachTypeEnum implements IEnum<String> {

    FULL_TIME("1", "全职"),
    PART_TIME("2", "兼职"),;

    private final String type;
    private final String text;

    CoachTypeEnum(String type, String text){
        this.type = type;
        this.text = text;
    }




    @Override
    public String getValue() {
        return this.type;
    }


    @JsonValue
    public String getDesc() {
        return this.text;
    }
}
